﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebShoes.Default" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div class="row">
     <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <!-- item -->
            <div class="col-md-3">
                <div class="product-item">
                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("HinhAnh") %>' AlternateText='<%# Eval("TenHangHoa") %>' />
                    <div class="caption">
                        <h3>
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/ChiTietForm.aspx?MaHangHoa=" + Eval("MaHangHoa") %>'>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenHangHoa") %>'></asp:Label>
                            </asp:HyperLink>
                        </h3>
                        <p>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("DonGia") %>'></asp:Label>
                        </p>
                        <p>
                            <asp:HyperLink CssClass="btn btn-primary" ID="HyperLink2" NavigateUrl='<%# "~/GioHangForm.aspx?MaHangHoa=" + Eval("MaHangHoa") %>' runat="server">Mua</asp:HyperLink>
                        </p>
                    </div>
                </div>
            </div>
            <!-- /item -->
        </ItemTemplate>

    </asp:Repeater>

</div>
<cc1:CollectionPager ID="CollectionPager1" runat="server">
</cc1:CollectionPager>
</asp:Content>
